package com.yaj.myfactorysupport.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author wei
 * @since 2021-12-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("TM_REASON")
@ApiModel(value="TmReason对象", description="")
public class TmReason implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "理由コード")
    @TableId(value = "REASON_ID", type = IdType.NONE)
    private String reasonId;

    @ApiModelProperty(value = "理由名")
    @TableField("REASON_NAME")
    private String reasonName;

    @ApiModelProperty(value = "正味フラグ")
    @TableField("NET_FLAG")
    private String netFlag;

    @ApiModelProperty(value = "有効フラグ")
    @TableField("ACTIVE_FLAG")
    private String activeFlag;

    @ApiModelProperty(value = "作成者ID")
    @TableField("CREATED_BY")
    private String createdBy;

    @ApiModelProperty(value = "作成日時")
    @TableField("CREATE_TIMESTAMP")
    private Date createTimestamp;

    @ApiModelProperty(value = "更新者ID")
    @TableField("UPDATED_BY")
    private String updatedBy;

    @ApiModelProperty(value = "更新日時")
    @TableField("UPDATE_TIMESTAMP")
    private Date updateTimestamp;


}
